const config = {
  app1: "http://localhost:81",
  app2: "http://localhost:7001",
};

if (process.env.NODE_ENV === "production") {
  const keys = Object.keys(config);
  keys.forEach((key) => {
    config[key as keyof typeof config] = window.location.origin;
  });
}

export default config;
